﻿using Admin.NET.Core;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;

namespace Admin.NET.Application
{
    public interface IModelService
    {
        Task<object> PostAddPm(Performance pm);


        Task<object> PostPmEdit(Performance pm);

        Task<string> UploadFileDefault(List<IFormFile> files);

        Task<object> PostPmAddorEdit(Performance pm);

        /// <summary>
        /// 添加巡检计划
        /// </summary>
        /// <param name="plan"></param>
        /// <returns></returns>
        /// <exception cref="Exception"></exception>

        Task<object> GetPmListAll();


        Task<object> GetRoadDetail(long id);



    }
}